home *** CD-ROM | disk | FTP | other *** search
- Path: news.sprintlink.net!gol2!usenet
- From: glevand@gol.com (Geoffrey Levand)
- Newsgroups: comp.lang.c++
- Subject: Re: COOL: Something you can do in "C" you can NOT do in "C++"
- Date: Mon, 11 Mar 1996 10:37:49 GMT
- Organization: Global OnLine Japan (+81-3-5330-9385)
- Message-ID: <4i0vs1$iou@gol2.gol.com>
- References: <4hpov3$krb@qualcomm.com>
- NNTP-Posting-Host: ppp176.gol.com
- X-Newsreader: Forte Free Agent 1.0.82
-
- fmerrow@wizard.qualcomm.com (Frank Merrow) wrote:
-
- >I am teaching myself C++, but my interest in the language just dropped.
- >I want to read cin as a binary file and output cout the same as well. I read
- >the FAQs on C++ and guess what YOU CAN'T DO IT.
-
- IÆm not quite sure what you mean by "read cin as a binary file", but
- you can code up << and >> operators for the object you want to do i/o
- with. Not hard to do, but the stream classes seem quite convoluted
- for the beginner.
-
- Tom Swan discusses how to do some binary i/o one of his books. The
- title was something like "C++ Code Secrets".
-
- G. Levand
-
-
-
-